package com.ruoyi.pay.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * pay对象 pay
 * 
 * @author Larry
 * @date 2024-03-26
 */
public class Pay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 支付二维码url */
    @Excel(name = "支付二维码url")
    private String payUrl;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private Long status;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setPayUrl(String payUrl) 
    {
        this.payUrl = payUrl;
    }

    public String getPayUrl() 
    {
        return payUrl;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("payUrl", getPayUrl())
            .append("status", getStatus())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .toString();
    }
}
